﻿<%@ Page Language="C#" AutoEventWireup="false" MasterPageFile="~/App_MasterPages/layout.Master"
    Codebehind="PostQuestion.aspx.cs" Inherits="ud_SwirlingQuestion.PostQuestionPage" %>

<asp:Content ContentPlaceHolderID="leftContent" ID="MPLeftPane" runat="server" />
<asp:Content ContentPlaceHolderID="mainContent" ID="MPContent" runat="server">
<portal:mojoPanel ID="mp1" runat="server" ArtisteerCssClass="art-Post" RenderArtisteerBlockContentDivs="true">
    <mp:CornerRounderTop id="ctop1" runat="server" />
    <asp:Panel ID="pnlStoreManager" runat="server" CssClass="art-Post-inner panelwrapper admin postquestion">
            <portal:ModuleTitleControlCustom ID="moduleTitle" runat="server" RenderArtisteer="true" UseLowerCaseArtisteerClasses="true"/>
        <portal:mojoPanel ID="MojoPanel1" runat="server" ArtisteerCssClass="art-PostContent">
        <div class="modulecontent">
            <fieldset>
            <%--<asp:UpdatePanel ID="UpdatePanel1" runat="server" >
                <ContentTemplate>--%>
                    <asp:Panel ID="pnlEdit" runat="server">
                        <div class="settingrow">
                            <mp:SiteLabel ID="lblTitle" runat="server" ResourceFile="SwirlingQuestionResource" ConfigKey="SwirlingQuestionTitle"
                                CssClass="settinglabel" ForControl="txtTitle" />
                        </div>
                        <div class="settingrow">
                            <asp:TextBox ID="txtTitle" runat="server" CssClass="settingtextbox verywidetextbox" MaxLength="255"/>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtTitle" 
                            ErrorMessage="*" ValidationGroup="SwirlingQuestion" />
                        </div>
                        
                        <div class="settingrow">
                            <mp:SiteLabel ID="lblQuestion" runat="server" ResourceFile="SwirlingQuestionResource" ConfigKey="SwirlingQuestionQuestion"
                                CssClass="settinglabel" ForControl="txtQuestion" />
                        </div>
                        <div class="settingrow">
                            <asp:TextBox ID="txtQuestion" runat="server" TextMode="MultiLine" CssClass="settingtextbox verywidetextbox multitext"/>
                            <asp:RequiredFieldValidator ID="rfvQuestion" runat="server" ControlToValidate="txtQuestion" 
                            ErrorMessage="*" ValidationGroup="SwirlingQuestion" />
                        </div>
                        <div class="settingrow" style="display: none;">
                            <mp:SiteLabel ID="lblItemUrl" runat="server" ResourceFile="SwirlingQuestionResource" ConfigKey="ItemUrl"
                                CssClass="settinglabel" ForControl="txtItemUrl" />
                                <span id="spnUrlWarning" runat="server" style="font-weight: normal;" class="txterror">
                                    </span>
                            <asp:HiddenField ID="hdnQuestion" runat="server" />
                        </div>
                        <div class="settingrow" style="display: none;">
                            <asp:TextBox ID="txtItemUrl" runat="server" CssClass="settingtextbox verywidetextbox"/>
                            <asp:RequiredFieldValidator ID="rfvItemUrl" runat="server" ControlToValidate="txtItemUrl" 
                            ErrorMessage="*" ValidationGroup="SwirlingQuestion" />
                        </div>
                        <div class="settingrow">
                            <mp:SiteLabel ID="lblCreatedName" runat="server" ResourceFile="SwirlingQuestionResource" ConfigKey="CreatedName"
                                CssClass="settinglabel" ForControl="txtCreatedName" />
                        </div>
                        <div class="settingrow">
                            <asp:TextBox ID="txtCreatedName" runat="server" MaxLength="255" CssClass="settingtextbox widetextbox"/>
                        </div>
                        <div class="settingrow">
                            <mp:SiteLabel ID="lblCreatedEmail" runat="server" ResourceFile="SwirlingQuestionResource" ConfigKey="CreatedEmail"
                                CssClass="settinglabel" ForControl="txtCreatedEmail" />
                        </div>
                        <div class="settingrow">
                            <asp:TextBox ID="txtCreatedEmail" runat="server" MaxLength="255" CssClass="settingtextbox widetextbox"/>
                        </div>
                        <div class="settingrow">
                            <mp:SiteLabel ID="lblCreatedPhone" runat="server" ResourceFile="SwirlingQuestionResource" ConfigKey="CreatedPhone"
                                CssClass="settinglabel" ForControl="txtCreatedPhone" />
                        </div>
                        <div class="settingrow">
                            <asp:TextBox ID="txtCreatedPhone" runat="server" MaxLength="255" CssClass="settingtextbox normaltextbox"/>
                        </div>
                        <div class="settingrow" id="divCaptcha" runat="server">
                                <mp:SimpleMathCaptchaControl ID="captcha" runat="server" CssClass="captcha" />
                            </div>
                        <asp:UpdatePanel runat="server" UpdateMode="Conditional" ID="updatePanel1">
                                <ContentTemplate>
                                    <div class="settingrow">
                                        <portal:mojoButton ID="btnSave" runat="server" ValidationGroup="SwirlingQuestion"/>
                                        <portal:mojoButton ID="btnBack" runat="server" CausesValidation="false" />
                                        <portal:mojoButton ID="btnDelete" runat="server" CausesValidation="false" />
                                    </div>
                                </ContentTemplate>
                            </asp:UpdatePanel>
                        <div class="pnlmessage">
                            <asp:UpdatePanel runat="server" ChildrenAsTriggers="false" UpdateMode="Conditional"
                                ID="updatePanelMessage">
                                <ContentTemplate>
                                    <portal:mojoLabel ID="lblError" runat="server" CssClass="txterror" />
                                </ContentTemplate>
                            </asp:UpdatePanel>
                        </div>
                    </asp:Panel>
                <%--</ContentTemplate>
            </asp:UpdatePanel>--%>
            </fieldset>
        </div>
        </portal:mojoPanel>
        <div class="cleared"></div>
    </asp:Panel>
    <mp:CornerRounderBottom id="cbottom1" runat="server" />
    </portal:mojoPanel>
</asp:Content>
<asp:Content ContentPlaceHolderID="rightContent" ID="MPRightPane" runat="server" />
<asp:Content ContentPlaceHolderID="pageEditContent" ID="MPPageEdit" runat="server" />
